home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMLSResourceResolver.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  92 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMLSResourceResolver.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMLSResourceResolver_h__
  6. #define __gen_nsIDOMLSResourceResolver_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMLSInput; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMLSResourceResolver */
  21. #define NS_IDOMLSRESOURCERESOLVER_IID_STR "9e61c7c8-8698-4477-9971-0923513919bd"
  22.  
  23. #define NS_IDOMLSRESOURCERESOLVER_IID \
  24.   {0x9e61c7c8, 0x8698, 0x4477, \
  25.     { 0x99, 0x71, 0x09, 0x23, 0x51, 0x39, 0x19, 0xbd }}
  26.  
  27. class NS_NO_VTABLE nsIDOMLSResourceResolver : public nsISupports {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMLSRESOURCERESOLVER_IID)
  31.  
  32.   /* nsIDOMLSInput resolveResource (in DOMString type, in DOMString namespaceURI, in DOMString publicId, in DOMString systemId, in DOMString baseURI); */
  33.   NS_IMETHOD ResolveResource(const nsAString & type, const nsAString & namespaceURI, const nsAString & publicId, const nsAString & systemId, const nsAString & baseURI, nsIDOMLSInput **_retval) = 0;
  34.  
  35. };
  36.  
  37. /* Use this macro when declaring classes that implement this interface. */
  38. #define NS_DECL_NSIDOMLSRESOURCERESOLVER \
  39.   NS_IMETHOD ResolveResource(const nsAString & type, const nsAString & namespaceURI, const nsAString & publicId, const nsAString & systemId, const nsAString & baseURI, nsIDOMLSInput **_retval); 
  40.  
  41. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  42. #define NS_FORWARD_NSIDOMLSRESOURCERESOLVER(_to) \
  43.   NS_IMETHOD ResolveResource(const nsAString & type, const nsAString & namespaceURI, const nsAString & publicId, const nsAString & systemId, const nsAString & baseURI, nsIDOMLSInput **_retval) { return _to ResolveResource(type, namespaceURI, publicId, systemId, baseURI, _retval); } 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  46. #define NS_FORWARD_SAFE_NSIDOMLSRESOURCERESOLVER(_to) \
  47.   NS_IMETHOD ResolveResource(const nsAString & type, const nsAString & namespaceURI, const nsAString & publicId, const nsAString & systemId, const nsAString & baseURI, nsIDOMLSInput **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ResolveResource(type, namespaceURI, publicId, systemId, baseURI, _retval); } 
  48.  
  49. #if 0
  50. /* Use the code below as a template for the implementation class for this interface. */
  51.  
  52. /* Header file */
  53. class nsDOMLSResourceResolver : public nsIDOMLSResourceResolver
  54. {
  55. public:
  56.   NS_DECL_ISUPPORTS
  57.   NS_DECL_NSIDOMLSRESOURCERESOLVER
  58.  
  59.   nsDOMLSResourceResolver();
  60.  
  61. private:
  62.   ~nsDOMLSResourceResolver();
  63.  
  64. protected:
  65.   /* additional members */
  66. };
  67.  
  68. /* Implementation file */
  69. NS_IMPL_ISUPPORTS1(nsDOMLSResourceResolver, nsIDOMLSResourceResolver)
  70.  
  71. nsDOMLSResourceResolver::nsDOMLSResourceResolver()
  72. {
  73.   /* member initializers and constructor code */
  74. }
  75.  
  76. nsDOMLSResourceResolver::~nsDOMLSResourceResolver()
  77. {
  78.   /* destructor code */
  79. }
  80.  
  81. /* nsIDOMLSInput resolveResource (in DOMString type, in DOMString namespaceURI, in DOMString publicId, in DOMString systemId, in DOMString baseURI); */
  82. NS_IMETHODIMP nsDOMLSResourceResolver::ResolveResource(const nsAString & type, const nsAString & namespaceURI, const nsAString & publicId, const nsAString & systemId, const nsAString & baseURI, nsIDOMLSInput **_retval)
  83. {
  84.     return NS_ERROR_NOT_IMPLEMENTED;
  85. }
  86.  
  87. /* End of implementation class template. */
  88. #endif
  89.  
  90.  
  91. #endif /* __gen_nsIDOMLSResourceResolver_h__ */
  92.